package com.rdc.qingkou.entity;


import java.util.List;

public class MessageResult {

    private String result;
    private List<MessageEntity> message;

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public List<MessageEntity> getMessage() {
        return message;
    }

    public void setMessage(List<MessageEntity> message) {
        this.message = message;
    }

    @Override
    public String toString() {
        return "MessageResult{"+
                "result="+result+
                "}"+message.toString();
    }


    public static class MessageEntity{

        private Integer newsId;
        private MessagesEntity messages;

        public Integer getNewsId() {
            return newsId;
        }

        public void setNewsId(Integer newsId) {
            this.newsId = newsId;
        }

        public MessagesEntity getMessages() {
            return messages;
        }

        public void setMessages(MessagesEntity messagesEntity2) {
            this.messages = messagesEntity2;
        }
    }

    public static class MessagesEntity{

        private String type;
        private UserEntity user;
        private String content;
        private String date;
        private CardEntity card;

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public UserEntity getUser() {
            return user;
        }

        public void setUser(UserEntity user) {
            this.user = user;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getDate() {
            return date;
        }

        public void setDate(String date) {
            this.date = date;
        }

        public CardEntity getCard() {
            return card;
        }

        public void setCard(CardEntity card) {
            this.card = card;
        }
    }

    public static class UserEntity{

        private Integer userId;
        private String nickName;
        private String signature;
        private String imageUrl;

        public Integer getUserId() {
            return userId;
        }

        public void setUserId(Integer userId) {
            this.userId = userId;
        }

        public String getNickName() {
            return nickName;
        }

        public void setNickName(String nickName) {
            this.nickName = nickName;
        }

        public String getSignature() {
            return signature;
        }

        public void setSignature(String signature) {
            this.signature = signature;
        }

        public String getImageUrl() {
            return imageUrl;
        }

        public void setImageUrl(String imageUrl) {
            this.imageUrl = imageUrl;
        }
    }

    public static class CardEntity{

        private Integer cardId;

        public Integer getCardId() {
            return cardId;
        }

        public void setCardId(Integer cardId) {
            this.cardId = cardId;
        }
    }
}
